﻿using System;
using System.Reflection;

namespace MUnit
{
    class TestMethod
    {
        private MethodInfo methodInfo = null;
        private ExpectedExceptionAttribute expectedException = null;

        public TestMethod(MethodInfo methodInfo, ExpectedExceptionAttribute expectedException)
        {
            this.methodInfo = methodInfo;
            this.expectedException = expectedException;
        }

        public MethodInfo MethodInfo
        {
            get
            {
                return this.methodInfo;
            }
        }

        public ExpectedExceptionAttribute ExpectedException
        {
            get
            {
                return this.expectedException;
            }
        }
    }
}
